//
//  PieChartItem.m
//  MoneyLog
//
//  Created by Max on 11-6-11.
//  Copyright 2011年 wicresoft. All rights reserved.
//

#import "PieChartItem.h"


@implementation PieChartItem
@synthesize title;
@synthesize value;
@synthesize color;
@synthesize percent;

-(id)init {
    if( (self =[super init])){
        value = 0;
        percent = 0.00f;
    }
    
    return self;
}

-(void)reset {
    self.title =@"";
    self.value = 0;
    self.color = nil;
}

-(void)dealloc {
    [title release];
    [color release];
    [super dealloc];
}

@end

